package com.yihubang.taobaokotlin.interfaces

import com.yihubang.taobaokotlin.model.HomePagerContent

/*
 * class title: 
 * Author by RenChunLin, Email 18957806320@163.com, Date on 2021/5/11.
 * PS: Not easy to write code, please indicate.
 */
interface ICategoryPageCallback : IBaseCallback {
    //数据加载回来了
    fun onContentLoaded(dataBean: MutableList<HomePagerContent.DataBean>)

    fun getCategoryId(): Int?

    //加载更多时网络错误
    fun onLoaderMoreError()

    //加载更多没有更多内容了
    fun onLoaderMoreEmpty()

    //加载到了更多内容
    fun onLoaderMoreLoaded(dataBean: MutableList<HomePagerContent.DataBean>)

    //轮播图内容加载到了
    fun onLooperListLoadedList(dataBean: MutableList<HomePagerContent.DataBean>)
}